<!DOCTYPE html>
<html>
<head>
    <title><?php echo $title; ?></title>
</head>
<body>
    <?php $this->includePublic('header.php'); ?>
    <h1><?php echo $content; ?></h1>
    <a href="/open/logout?from=<?php echo urlencode($_SERVER['REQUEST_URI']); ?>">退出登录</a>
    当前登录用户：<?php echo $user['username']; ?>
    <a href="/admin/user">用户列表</a>
    <a href="/admin/role">角色列表</a>
</body>
</html>